<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>注册 - 高档茶叶与茶具销售系统</title>
		<%@ include file="/common/include/head_title.jsp"%>
	</head>
	<body>
		<jsp:include page="/IndexHeadServlet">
			<jsp:param value="header" name="method"/>
		</jsp:include>
		<div id="mainBody">
			<div class="container">
				<div class="row">
					<%@ include file="/common/include/leftBar.jsp"%>
					<div class="span9">
						<ul class="breadcrumb">
							<li><a href="${rootPath }/IndexHeadServlet?method=main">首页</a><span class="divider">/</span></li>
							<li class="active">注册</li>
						</ul>
						<h3>注册</h3>
						<div class="well">
							<form class="form-horizontal" action="${rootPath }/NoLoginServlet?method=registerSubmit" method="post">
								<h4>注册信息</h4>
								<div class="control-group">
									<label class="control-label" for="email">邮箱<sup>*</sup>
									</label>
									<div class="controls">
										<input type="text" id="email" name="email" placeholder="邮箱">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="password">密码
										<sup>*</sup>
									</label>
									<div class="controls">
										<input type="password" id="password" name="password" placeholder="密码">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="confirmPass">密码
										<sup>*</sup>
									</label>
									<div class="controls">
										<input type="password" id="confirmPass" name="confirmPass" placeholder="密码">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label" for="password">验证码
										<sup>*</sup>
									</label>
									<div class="controls">
										<input type="text" name="rand" placeholder="验证码" size="4" maxlength="4" value="0715">
										<a title="看不清，换一张" onclick="return refreshCode('imgCode')" href="#">
											<img id="imgCode" width="100" height="50" src="${rootPath }/CommonServlet?method=code" title="看不清，换一张" alt="看不清，换一张">
										</a>
									</div>
								</div>
								<div class="control-group">
									<div class="controls">
										<input class="btn btn-large btn-success" type="submit" value="注册">
										<a href="${rootPath }/NoLoginServlet?method=login" class="btn btn-large btn-success" >登陆</a>
									</div>
								</div>
								<div class="control-group">
									${response.info }									
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		<%@ include file="/common/include/footer.jsp"%>
	</body>
</html>